@import './modules/reset.scss';

// header
$header-hg:72px;
$border:1px solid;
header{
    width: 100%;
    height: $header-hg;
}
header .wrap{
    width: 1150px;
    height: $header-hg;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

header .wrap{
    .logo-wrap{
        width: 195px;
        height: 42px;
        float: left;
        }
    .location{
        width: 171px;
        height: 22px;
        margin-left: 27px;
       
    }
}
header .wrap{
    .location{
        .address{
            display: inline-block;
            font-size: 12px;
            width: 70px;
            span{
                margin-left: 0px;
                line-height: 20px;
            }
        }
        .city{
            font-size: 12px;
            display: inline-block;
            margin-left: 24px;
            width: 65px;
            height: 22px;
            background-color: #cccccc;
            color: #f5f5f5;
            font-weight: 500;
            text-align: center;
            line-height: 22px;
        }
       
    }
}

header .wrap{
    .headnav{
        width: 360px;
        height: 16px;
        margin-left: 60px;
        font-size: 16px;
        transition: all .4s ease-in-out;
        ul{
            display: flex;
            justify-content: space-between;
        }
        a{
            color: #595959;
            &:hover{color: #dabc7a}
        }
    }
}
//下拉菜单
header .wrap .headnav .dropdown{
    position: absolute;
    top: 70px;
    left: 0px;
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    background-color: #ffffff;
    z-index: 10;
    // overflow: hidden;
    display: none;
}
header .wrap .headnav .dropdown .cake{
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: space-around;
    li{ 
        display: flex;
        flex-direction: column;
        align-items: center;
        float: left;
    }
}
// toolbox
header .wrap .toolbox{
  width: 260px;
  height: 40px;
  margin-left: 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  a{
    display: inline-block;
    width: 22px;
    height: 23px;
  }
  button{
    background-color:white;
    width: 82px;
    height: 30px;
    font-size: 12px;
  }
}

// banner
.banner{
  width: 100%;
  height: 570px;
  margin-top: 72px;
  img{
    width: 100%;
    height: 100%;
  }
}

.main{
  width: 100%;
  height: 450px;
  display: flex;
  .one,.two,.three{
      width: 400px;
      height: 450px;
      flex: 1;
      img{
        width: 190px;
        height: 129px;
        margin-left: 110px;
        margin-top: 95px;
      }
      a{
        display: inline-block;
        height: 24px;
        border-bottom: $border;
        margin-top: 20px;
        color: #191919;
        margin-left: 100px;
        margin-top: 40px;
        span{
          font-size: 18px;
        }
        b{
          font-weight: normal;
          font-size: 15px;
        }
      }
      p{
        height: 18px;
        font-size: 15px;
        margin-left: 50px;
        margin-top: 15px
      }
    }
    .one{
      background-color: #eee2c8;
    }
    .two{
      background-color: #ddc59e;
      a{
        margin-left: 150px;
      }
    }
    .three{
      background-color: #e9daba;
      a{
        margin-left: 150px;
      }
      p{
        margin-left: 110px;
      }
    }

}

// footer
.footer{
  width: 100%;
  height: 130px;
  background-color: #3d2d23;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  a{
    color: #ffffff;
    font-size: 12px;
  }
  ol{
    display: flex;
    width:921px;
    height: 20px;
    margin-top: 30px;
   
    font-size: 12px;
    li{
      width: 130px;
      border-right: 1px solid #ffffff;
      text-align: center;
    }
  }
  ul{
    margin-top: 30px;
    display: flex;
    font-size: 12px;
    height: 20px;
    width:300px;
    justify-content: space-around;
    float: right;
    margin-left: 60px;
  }
  p{
    width: 70%;
    height: 20px;
    margin-left: 20%;
    margin-top: 3px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
  }
}